From: Kenichi Handa Date: Mon, 16 Aug 2004 00:04:03 +0000 (+0000) Subject: term/x-win.el (x-selection-value): If utf8 was successful but X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~21402 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=f2d439afcdd5416294115e40c1c8d3977e558d5b;p=emacs.git term/x-win.el (x-selection-value): If utf8 was successful but ctext was not, use utf8 string. --- diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index d9700809413..61602d1f355 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -2212,7 +2212,8 @@ order until succeed.") (if utf8 (setq text (x-select-utf8-or-ctext utf8 ctext)) ;; Othewise, choose CTEXT. - (setq text ctext)))) + (setq text ctext)) + (setq text utf8))) ;; If not yet decided, try STRING. (or text (setq text (condition-case nil